package com.sofwin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sofwin.pojo.Adrs;
import com.sofwin.pojo.Status;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface StatusService extends IService<Status> {
    // 修改后的更新方法
    @Update("UPDATE tb_status SET s_name = #{sName} WHERE s_id =#{sId} AND isDelete = 0")
    boolean updateById(Status status);

    //
    List<Status> getStatusList(Status status);
}
